﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using ScrumFactory.Composition.ViewModel;
using ScrumFactory.Composition;
using ScrumFactory.Services;
using System.Collections.ObjectModel;
using ScrumFactory.Windows.Helpers;

namespace ScrumFactory.ProjectTeam.ViewModel {

    public class MemberViewModel : BaseEditableObjectViewModel, IMemberViewModel, INotifyPropertyChanged  {

        private bool isMemberSelected = false;

        public MemberViewModel(MemberProfile member) {
            MemberProfile = member;
        }

        public MemberProfile MemberProfile { get; private set; }



        /// <summary>
        /// Gets or sets a value indicating whether this instance is member selected.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is member selected; otherwise, <c>false</c>.
        /// </value>
        public bool IsMemberSelected {
            get {
                return isMemberSelected;
            }
            set {
                isMemberSelected = true;
                OnPropertyChanged("IsMemberSelected");
            }
        }
   
        
    }
}
